package com.molichuxing.services.infrastructure.bean;

import com.molichuxing.framework.bean.RootBean;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 订阅里程商品表
 * </p>
 *
 * @author xuelin yi
 * @since 2019-08-12
 */
public class GoodsSubscribeBean extends RootBean {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 服务费
     */
    private BigDecimal serviceFee;

    /**
     * 基础里程
     */
    private Integer baseMileage;

    /**
     * 基础里程价格
     */
    private BigDecimal baseMileagePrice;

    /**
     * 付款方式(1:全款，2：分期)
     */
    private Integer paymentType;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 更新时间
     */
    private LocalDateTime gmtModified;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBaseMileage() {
        return baseMileage;
    }

    public void setBaseMileage(Integer baseMileage) {
        this.baseMileage = baseMileage;
    }

    public BigDecimal getBaseMileagePrice() {
        return baseMileagePrice;
    }

    public void setBaseMileagePrice(BigDecimal baseMileagePrice) {
        this.baseMileagePrice = baseMileagePrice;
    }

    public Integer getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(Integer paymentType) {
        this.paymentType = paymentType;
    }

    @Override
    public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    @Override
    public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    @Override
    public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    @Override
    public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    public BigDecimal getServiceFee() {
        return serviceFee;
    }

    public void setServiceFee(BigDecimal serviceFee) {
        this.serviceFee = serviceFee;
    }
}
